package zyAll.animalParadise;

/**
 *动物园类
 */
public abstract class Animal {
    private String name;

    public Animal() {
    }

    public Animal(String name) {
        this.setName(name);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    //叫
    public abstract void shout();

    public abstract void show();
}
